﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace aaaSoft.SkinEngine.MyControls
{
    class MyLabel : IMyControl
    {
        Label lblBase;
        SkinEngine skinEng;
        Color preBackColor;

        public MyLabel(Label lbl, SkinEngine skinEng)
        {
            lblBase = lbl;
            this.skinEng = skinEng;
        }

        public void StartControlSkin()
        {
            preBackColor = lblBase.BackColor;
            lblBase.BackColor = Color.Transparent;
        }
        public void StopControlSkin()
        {
            lblBase.BackColor = preBackColor;
        }
    }
}
